isis is known for brutal takeovers and medieval justice , but it sees itself as a state .
official documents show just how far their rules affect daily life .